<%--
  Created by IntelliJ IDEA.
  User: lub_lenovo
  Date: 2017/8/7
  Time: 17:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>

<script>
    var menu='${menu}';
    if(menu!=''){
        var $lis=$('#pnMenu .nav li');
        var $now=$('#pnMenu .nav li a:contains("'+menu+'")');
        $now.parent().addClass('active');
    }

    var msg='${msg}';
    if(msg==''){
        $('.alert').hide();
    }else{
        $('.alert').show();
        setTimeout(function(){
            $('.alert').hide();
        },2000)
    }

</script>
</body>
</html>
